package com.chenglai.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_goods_inventory" )
@Table( name ="t_cl_goods_inventory" )
public class GoodsInventory  implements Serializable {


   	@Column(name = "inventory_id" )
	@ApiModelProperty( value="null")
	private Integer inventoryId;

	/**
	 * 商品ID
	 */
   	@Column(name = "goods_id" )
	@ApiModelProperty( value="商品ID")
	private Integer goodsId;

	/**
	 * 规格名称  数据格式 '1:2'
	 */
   	@Column(name = "spec_name" )
	@ApiModelProperty( value="规格名称  数据格式   '1:2'")
	private String specName;

	/**
	 * 价格
	 */
   	@Column(name = "spec_price" )
	@ApiModelProperty( value="价格")
	private Double specPrice;

	/**
	 * 库存
	 */
   	@Column(name = "spec_inventory" )
	@ApiModelProperty( value="库存")
	private Integer specInventory;

	/**
	 * 成本价
	 */
   	@Column(name = "spec_cost" )
	@ApiModelProperty( value="成本价")
	private Double specCost;

  public Integer getInventoryId() {
    return inventoryId;
  }

  public void setInventoryId(Integer inventoryId) {
    this.inventoryId = inventoryId;
  }


  public Integer getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Integer goodsId) {
    this.goodsId = goodsId;
  }


  public String getSpecName() {
    return specName;
  }

  public void setSpecName(String specName) {
    this.specName = specName;
  }


  public Double getSpecPrice() {
    return specPrice;
  }

  public void setSpecPrice(Double specPrice) {
    this.specPrice = specPrice;
  }


  public Integer getSpecInventory() {
    return specInventory;
  }

  public void setSpecInventory(Integer specInventory) {
    this.specInventory = specInventory;
  }


  public Double getSpecCost() {
    return specCost;
  }

  public void setSpecCost(Double specCost) {
    this.specCost = specCost;
  }

}
